package com.bdzl.biz.service.impl;

import com.bdzl.biz.dao.OrderPayAccountDao;
import com.bdzl.biz.service.OrderPayAccountService;
import com.bdzl.pub.entity.loan.OrderPayAccountDO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class OrderPayAccountServiceImpl implements OrderPayAccountService {
	@Autowired
	private OrderPayAccountDao orderPayAccountDao;

	@Override
	public OrderPayAccountDO get(Integer payId){
		return orderPayAccountDao.get(payId);
	}

	@Override
	public List<OrderPayAccountDO> list(Map<String, Object> map){
		return orderPayAccountDao.list(map);
	}

	@Override
	public int count(Map<String, Object> map){
		return orderPayAccountDao.count(map);
	}

	@Override
	public int save(OrderPayAccountDO orderPayAccount){
		return orderPayAccountDao.save(orderPayAccount);
	}

	@Override
	public int update(OrderPayAccountDO orderPayAccount){
		return orderPayAccountDao.update(orderPayAccount);
	}

	@Override
	public int remove(Integer payId){
		return orderPayAccountDao.remove(payId);
	}

	@Override
	public int batchRemove(Integer[] payIds){
		return orderPayAccountDao.batchRemove(payIds);
	}

}
